package com.liyiqing.secondhandmall.memberservice.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.liyiqing.commonservice.utils.PageUtils;
import com.liyiqing.commonservice.utils.Query;

import com.liyiqing.secondhandmall.memberservice.dao.MemberUserStatisticsInfoDao;
import com.liyiqing.secondhandmall.memberservice.entity.MemberUserStatisticsInfoEntity;
import com.liyiqing.secondhandmall.memberservice.service.MemberUserStatisticsInfoService;


@Service("memberUserStatisticsInfoService")
public class MemberUserStatisticsInfoServiceImpl extends ServiceImpl<MemberUserStatisticsInfoDao, MemberUserStatisticsInfoEntity> implements MemberUserStatisticsInfoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MemberUserStatisticsInfoEntity> page = this.page(
                new Query<MemberUserStatisticsInfoEntity>().getPage(params),
                new QueryWrapper<MemberUserStatisticsInfoEntity>()
        );

        return new PageUtils(page);
    }

}